﻿//------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;

namespace Microsoft.ResourceManagement.Samples.ResourceManagementClient.ExtensionIdentityManagementOperations
{
    [XmlRoot(ElementName = "BaseObjectSearchRequest", Namespace = Constants.NamespaceDirectoryAccess)]
    public class BaseObjectSearchRequest
    {
        private List<String> attributeTypes;
        private String dialect;
        public BaseObjectSearchRequest()
        {
            this.attributeTypes = new List<string>();
            this.dialect = Constants.ExtensionIdentityManagementOperationsDefaultDialect;
        }
        
        [XmlAttribute(AttributeName = "Dialect")]
        public String Dialect
        {
            get
            {
                return this.dialect;
            }
            set
            {
                this.dialect = value;
            }
        }
        
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly"), XmlElement(ElementName = "AttributeType")]
        public List<String> AttributeTypes
        {
            get
            {
                return this.attributeTypes;
            }
            set
            {
                this.attributeTypes = value;
            }
        }
    }
}
